package monster.com.cvh.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ASUS on 2018/3/8.
 */

public class NewsDetailBean implements Serializable {
    private String news_detail_time ;
    /**
     * code : 1
     * data : [{"content":"一级评论😂😂","icon_url":"","id":21,"is_praise":false,"praise":0,"reply":23,"update_time":"2018-04-11 18:33:45.741111","user_id":1,"user_name":"测试用户"},{"content":"一级评论😂😂","icon_url":"","id":20,"is_praise":false,"praise":0,"reply":0,"update_time":"2018-04-11 18:33:45.740612","user_id":1,"user_name":"测试用户"}]
     * msg : ok
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public String getNews_detail_time() {
        return news_detail_time;
    }

    public void setNews_detail_time(String news_detail_time) {
        this.news_detail_time = news_detail_time;
    }

    public NewsDetailBean(String news_detail_time) {
        this.news_detail_time = news_detail_time;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{


        public DataBean(String content, String icon_url, int reply, String update_time,String user_name,int id) {
            this.content = content;
            this.icon_url = icon_url;
            this.reply = reply;
            this.update_time = update_time;
            this.user_name = user_name;
            this.id = id;
        }

        /**
         * content : 一级评论😂😂
         * icon_url :
         * id : 21
         * is_praise : false
         * praise : 0
         * reply : 23
         * update_time : 2018-04-11 18:33:45.741111
         * user_id : 1
         * user_name : 测试用户
         */

        private String content;
        private String icon_url;
        private int id;
        private boolean is_praise;
        private int praise;
        private int reply;
        private String update_time;
        private int user_id;
        private String user_name;

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getIcon_url() {
            return icon_url;
        }

        public void setIcon_url(String icon_url) {
            this.icon_url = icon_url;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public boolean isIs_praise() {
            return is_praise;
        }

        public void setIs_praise(boolean is_praise) {
            this.is_praise = is_praise;
        }

        public int getPraise() {
            return praise;
        }

        public void setPraise(int praise) {
            this.praise = praise;
        }

        public int getReply() {
            return reply;
        }

        public void setReply(int reply) {
            this.reply = reply;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getUser_name() {
            return user_name;
        }

        public void setUser_name(String user_name) {
            this.user_name = user_name;
        }
    }
}
